package com.jingbian.cppccbackend.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import jakarta.validation.constraints.NotNull;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = false)
public class ProposalSignersListVO {
  @NotNull
  private Integer id; // 联案id

  @TableId(value = "pid", type = IdType.AUTO)
  private Integer pid; // 提案ID

  private String caseReason; // 案由

  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  private LocalDateTime submitTime; // 提案时间

  private Integer userId;

  private String signerStatus;
}
